About 398 letters

About 2 minutes

#pow

Description: Calculate the power.

def pow(x, y): ''' Calculate power :param x: Base :param y: Exponent :return: x raised to the power y '''

Example:

print(pow(2, 3))

>>> Establishing WebAssembly Runtime.

>>> Standby.

Powered by Shift.

Created in 6/9/2025

Updated in 6/9/2025